/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cn2;

import java.io.*;

/**
 *
 * @author Mathias
 */
public class SearchResult implements Serializable {
    private String filename = "";
    private RemotePeer remotePeer;
    private long filesize = 0;
    private String hash;
    
    /**
     * @return the filename
     */
    public String getFilename() {
        return filename;
    }

    /**
     * @param filename the filename to set
     */
    public void setFilename(String filename) {
        this.filename = filename;
    }

    /**
     * @return the remotePeer
     */
    public RemotePeer getRemotePeer() {
        return remotePeer;
    }

    /**
     * @param remotePeer the remotePeer to set
     */
    public void setRemotePeer(RemotePeer remotePeer) {
        this.remotePeer = remotePeer;
    }

    /**
     * @return the filesize
     */
    public long getFilesize() {
        return filesize;
    }

    /**
     * @param filesize the filesize to set
     */
    public void setFilesize(long filesize) {
        this.filesize = filesize;
    }

    /**
     * @return the hash
     */
    public String getHash() {
        return hash;
    }

    /**
     * @param hash the hash to set
     */
    public void setHash(String hash) {
        this.hash = hash;
    }
    
}
